package mr.weblog.support;

import org.apache.commons.lang.builder.ToStringBuilder;

public class EnrichedWeblog {

	public EnrichedWeblog() {
		log = "";
		timestamp = 0L;
		price_timestamp = 0L;
		price = -1.0;
	}

	private String log;
	private Long timestamp;
	private Long price_timestamp;
	private double price;

	public String getLog() {
		return log;
	}

	public void setLog(String log) {
		this.log = log;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}
	
    public Long getPrice_timestamp() {
		return price_timestamp;
	}

	public void setPrice_timestamp(long price_timestamp) {
		this.price_timestamp = price_timestamp;
	}

	@Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}